package com.sinog.biz.service.business;

import com.sinog.core.domain.Log;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;

/**
 * @desc 系统管理 - 系统日志 - 系统日志 - LogService
 * @author lizhiqiang
 * @date -
 */
@RestController
public interface LogService {

    /**
     * 保存系统增删改操作日志
     * @param log log
     */
    @RequestMapping("/azbj/log/saveLog")
    void saveLog(@RequestBody Log log);

    /**
     * 系统日志列表
     * @param map map
     * @param pageIndex pageIndex
     * @param pageSize pageSize
     * @return String
     */
    @RequestMapping("/azbj/log/list")
    String list(@RequestParam Map<String,String> map,@RequestParam Integer pageIndex,@RequestParam Integer pageSize);
}